package com.dhcc.DRGsHosp.core.domain;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

import javax.persistence.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 *
 * 功能描述: 首页质控
 *
 * @param:
 * @return:
 * @auther: chenhanlin
 * @date: 2018/7/25 11:01
 */
public class MedicalRecordQuality {

	private static final long serialVersionUID = 6165557133209999388L;
	// 基本信息
	private MrBaseInfo baseInfo = new MrBaseInfo();
	// 住院信息
	private MrIpInfo ipinfo = new MrIpInfo();
	// 诊断信息
	private List<MrDiagnose> diagnose = new ArrayList<>();
	// 手术信息
	private List<MrOperation> operation = new ArrayList<>();
	// 费用信息
	private List<MrExpense> expense = new ArrayList<>();
	// 费用信息 map结构
	private Map<String,Double> expenseMap = new HashMap<>();
	// 附页信息、
	private  MrAppendPage mrAppendPage = new MrAppendPage() ;
	// 病例质控结果
	private MrqScore mrqScore = new MrqScore() ;
	//  违反的规则项
	private List<MrqViolation> mrqViolationList = new ArrayList<>();
	//  扣分项明细
	private List<MrqScoreDetail> mrqScoreDetailList = new ArrayList<>();

	public MedicalRecordQuality() {
	}

	public MrBaseInfo getBaseInfo() {
		return baseInfo;
	}

	public void setBaseInfo(MrBaseInfo baseInfo) {
		if(baseInfo != null) {
			this.baseInfo = baseInfo;
		}
	}

	public MrIpInfo getIpinfo() {
		return ipinfo;
	}

	public void setIpinfo(MrIpInfo ipinfo) {
		this.ipinfo = ipinfo;
	}

	public List<MrDiagnose> getDiagnose() {
		return diagnose;
	}

	public void setDiagnose(List<MrDiagnose> diagnose) {
		if (diagnose != null) {
			this.diagnose = diagnose;
		}
	}

	public List<MrOperation> getOperation() {
		return operation;
	}

	public void setOperation(List<MrOperation> operation) {
		if(operation!=null){
			this.operation = operation;
		}
	}

	public List<MrExpense> getExpense() {
		return expense;
	}

	public void setExpense(List<MrExpense> expense) {
		if(expense != null){
			this.expense = expense;
		}
	}

	public MrqScore getMrqScore() {
		return mrqScore;
	}

	public void setMrqScore(MrqScore mrqScore) {
		this.mrqScore = mrqScore;
	}

	public List<MrqViolation> getMrqViolationList() {
		return mrqViolationList;
	}

	public void setMrqViolationList(List<MrqViolation> mrqViolationList) {
		this.mrqViolationList = mrqViolationList;
	}

	public List<MrqScoreDetail> getMrqScoreDetailList() {
		return mrqScoreDetailList;
	}

	public void setMrqScoreDetailList(List<MrqScoreDetail> mrqScoreDetailList) {
		this.mrqScoreDetailList = mrqScoreDetailList;
	}

	public MrAppendPage getMrAppendPage() {
		return mrAppendPage;
	}

	public void setMrAppendPage(MrAppendPage mrAppendPage) {
		this.mrAppendPage = mrAppendPage;
	}

	public Map<String, Double> getExpenseMap() {
		return expenseMap;
	}

	public void setExpenseMap(Map<String, Double> expenseMap) {
		if(expenseMap != null ){
			this.expenseMap = expenseMap ;
		}
	}
}
